import request from '@/utils/v2/request';
import { tansParams } from "@/utils/v2/ruoyi";
//巡检源管理
class inspectionSourceManagementAPI {
    //查询列表
    getKeyUserList(params){
        return request.get('/police/keyUser/list?'+ tansParams(params));
    }
    //新增单条
    addKeyUserOne(params){
        return request.post('/police/keyUser', params);
    }
    //删除单条
    deleteKeyUser(ids){
        return request.delete('/police/keyUser/'+ ids);
    }
}
export const InspectionSourceManagementAPI = new inspectionSourceManagementAPI();